<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>变量的作用域练习题</title>
    <script>

function fl(a) {
    console.log("a" + a); 
    a = 2;
    console.log("b" + a);  
    
    console.log("c" + a); 
}
var a = 1;
fl(a);
console.log("cc" + a);  
console.log("bb" + a);;
</script>

</head>
<body>

</body>
</html>